package com.apexedu.biz.action;

import com.apexedu.framework.service.BaseService;
import com.apexedu.identity.entity.TSysMenu;
import com.apexedu.identity.entity.TSysRole;
import com.apexedu.sys.action.AbstractBaseActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wangjian on 14-4-9.
 */
@SuppressWarnings("serial")
@Component
@Scope("prototype")
public class PortalAction extends BizBaseAction {

    @Resource(name="tPortalService")
    public void setBaseService(BaseService baseService){
        super.setBaseService(baseService);
    }

    private TSysMenu tsysMenu;//资源详情

    private List<TSysRole> roleList;//角色信息

    public TSysMenu getTsysMenu() {
        return tsysMenu;
    }

    public void setTsysMenu(TSysMenu tsysMenu) {
        this.tsysMenu = tsysMenu;
    }

    public List<TSysRole> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<TSysRole> roleList) {
        this.roleList = roleList;
    }
}